package com.ruoyi.wms.domain.vo;

import java.math.BigDecimal;
import com.ruoyi.wms.domain.entity.stock.ConversionRules;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import io.github.linpeilie.annotations.AutoMapper;

import java.io.Serializable;
import java.io.Serial;
import java.util.Date;

/**
 * 转换关系表视图对象 conversion_rules
 *
 * @author 邓滔滔
 * @date 2025-01-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ConversionRules.class)
public class ConversionRulesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 规则
     */
    @ExcelProperty(value = "规则")
    private Long ruleId;

    /**
     * 关联的规格
     */
    @ExcelProperty(value = "关联的规格")
    private Long skuId;

    /**
     * 目标产品
     */
    @ExcelProperty(value = "目标产品")
    private Long targetSkuId;

    /**
     * 转换比例
     */
    @ExcelProperty(value = "转换比例")
    private BigDecimal conversionRatio;

    /**
     * 产出率
     */
    @ExcelProperty(value = "产出率")
    private BigDecimal yieldRate;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date updateTime;


}
